package com.CST.vo.ys;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
public class AccountDetailVO implements Serializable {
    @ApiModelProperty("id")
    @ExcelIgnore
    private Integer id;

    @ApiModelProperty("预算科目类型id")
    @ExcelIgnore
    private Integer subjectId;

    @ApiModelProperty("编号")
    @ExcelProperty("编号")
    private Integer num;

    @ApiModelProperty("预算科目编码")
    @ExcelProperty("预算科目编码")
    private String subjectCode;

    @ApiModelProperty("预算科目名称")
    @ExcelProperty("预算科目名称")
    private String subjectName;

    @ApiModelProperty("日期")
    @ExcelProperty("日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime dTime;

    @ApiModelProperty("部门编码")
    @ExcelProperty("部门编码")
    private String deptCode;

    @ApiModelProperty("部门名称")
    @ExcelProperty("部门名称")
    private String deptName;

    @ApiModelProperty("预算部门编码")
    @ExcelIgnore
    private String ysDeptCode;

    @ApiModelProperty("预算部门名称")
    @ExcelIgnore
    private String ysDeptName;

    @ApiModelProperty("摘要")
    @ExcelProperty("摘要")
    private String description;

    @ApiModelProperty("金额")
    @ExcelProperty("金额")
    private BigDecimal amount;

    @ApiModelProperty("院区")
    @ExcelProperty("院区 1：三香;2：浒关")
    private Integer yard;


}
